
#ifndef _MEMBER_BTEXTFORMAT_H_
#define _MEMBER_BTEXTFORMAT_H_

#include <BWidget>
#include <BTextFormat>

#define format_member(format)			((member_BTextFormat*)((BTextFormat*)format)->_ptr)

namespace BWE
{
	class member_BTextFormat
	{
	public:
		member_BTextFormat(BTextFormat* textFormat);
		~member_BTextFormat();

		void setWidget(BWidget* widget);

		BTextFormat*		boss;
		BWidget*			host;
		BTextFormat*		parent;

	};
}

#endif
